package com.trs.publish.repository;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import com.trs.publish.domain.Power;

@Mapper
public interface PowerRepository {

	List<Power> findPowers(Long roleId);

	List<Power> findPowersByRoles(List<String> roleNameList);

	List<Power> findByPower(Power power);

	void deleteById(long id);

	Power findById(long id);

	void save(Power power);

	void update(Power power);
    
}